package com.inhim.pjhim.utils;

import android.view.View;
import android.widget.TextView;

public class TextViewUils {
    public static void setText(TextView textView,String text){
        if(textView!=null && text!=null && !"".equals(text)){
            textView.setVisibility(View.VISIBLE);
            textView.setText(text);
        }else{
            if(textView!=null){
                textView.setVisibility(View.GONE);
            }
        }
    }
}
